package com.scsj.cloud.authority.model;

public class SysUser {
	//主键
    private Integer userId;
    //用户名
    private String username;
    //密码	
    private String password;
    //用户类型
    private Integer userType;
    //邮箱
    private String userEmail;
    //二级密码
    private String secondPassword;
    //电话
    private String userPhone;

    public SysUser(Integer userId, String username, String password, Integer userType, String userEmail, String secondPassword, String userPhone) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.userType = userType;
        this.userEmail = userEmail;
        this.secondPassword = secondPassword;
        this.userPhone = userPhone;
    }

    public SysUser() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getSecondPassword() {
        return secondPassword;
    }

    public void setSecondPassword(String secondPassword) {
        this.secondPassword = secondPassword == null ? null : secondPassword.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }
}